package com.jarveis.dbs.core.bean;

/**
 * @desc 配置类
 * @author liuguojun
 * @date 2016-01-08
 */
public class CallBean {

	private String code; // 编码
	private Boolean sync = true; // 同步(默认)

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public boolean isSync() {
		return sync;
	}

	public void setSync(Boolean sync) {
		if (sync == null) {
			sync = true;
		}
		this.sync = sync;
	}
}
